//
//  ZYCTeaLeaveRecordFlowChartView.h
//  ZDSC
//
//  Created by 张威 on 2021/11/9.
//

#import <UIKit/UIKit.h>
#import "ZYCTeaLeaveFlowChartModel.h"
#import "ZYCTeaLeaveRecordFlowChartHeaderView.h"

NS_ASSUME_NONNULL_BEGIN

@protocol ZYCTeaLeaveRecordFlowChartViewDelegate <NSObject>

// 选择审批人
- (void)teaLeaveRecordFlowChartViewAddApprover:(ZYCTeaLeaveFlowChartModel *)model;

// 删除审批人
- (void)teaLeaveRecordFlowChartViewDeleteApprover:(ZYCTeaLeaveApplyUserModel *)m;

@end


@interface ZYCTeaLeaveRecordFlowChartView : UIView

@property (nonatomic, assign)ZYCFlowChartHeaderViewType type;

@property (nonatomic, strong) NSArray<ZYCTeaLeaveFlowChartModel *> *dataSource;

@property (nonatomic, weak) id <ZYCTeaLeaveRecordFlowChartViewDelegate> delegate;


- (void)reload;
@end

NS_ASSUME_NONNULL_END
